package com.five.wisdomClass.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDate;

@Data
@TableName("studentinfo")
@AllArgsConstructor
@NoArgsConstructor
public class Student  implements Serializable {
    // id
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    // 学号
    @TableField(value = "s_number")
    private String sNumber;
    // 姓名
    @TableField(value = "s_name")
    private String sName;
    // 性别
    @TableField(value = "s_gender")
    private String sGender;
    // 电话
    @TableField(value = "s_phone")
    private String sPhone;
    // 现居地
    @TableField(value = "s_hometown")
    private String sHometown;
    // 籍贯
    @TableField(value = "s_nationality")
    private String sNationality;
    // 政治面貌
    @TableField(value = "s_political_face")
    private String sPoliticalFace;
    // 电子邮件
    private String email;
    // 出生日期
    @TableField(value = "birth_date")
    private LocalDate birthDate;
    // 家庭住址
    @TableField(value = "home_address")
    private String homeAddress;
    // 院系
    private String academy;
    // 专业
    private String major;
    // 班级
    @TableField(value = "class")
    private String classname;
    // 身份证号
    @TableField(value = "id_card_number")
    private String idCardNumber;
    // 面部信息
    @TableField(value = "face_photo")
    private String facePhoto;

}

